//
//  ViolationModel.h
//  carcareIOS
//
//  Created by 王然 on 16/8/3.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import "BaseModel.h"
#import "CarInfoModel.h"
#import "VioCityModel.h"
#import "MapHelper.h"
#import "CarModel.h"

@interface VioCarModel : BaseModel


@property (nonatomic, strong) CarInfoModel *carinfoModel;
@property (nonatomic, copy) NSArray *cityModels;

@property (nonatomic, copy) NSString *showCitys;

@property (nonatomic, assign) BOOL isVioInfoComplete;

@property (nonatomic, assign) BOOL needIDNum;

@property (nonatomic, copy) NSArray *vioModels;

@property (nonatomic, assign) NSInteger vioCount;//违章条数
@property (nonatomic, assign) CGFloat vioMoney;//罚款金额
@property (nonatomic, assign) NSInteger vioPoint;//扣分
@property (nonatomic, assign) NSInteger status;//-1 数据格式错误  0 查询成功

@end

@interface VioModel : BaseModel

@property (nonatomic, assign) NSTimeInterval date;//违章日期
@property (nonatomic, copy) NSString *address;//违章地址
@property (nonatomic, copy) NSString *detail;//详细信息
@property (nonatomic, assign) CGFloat money;//罚款金额
@property (nonatomic, assign) NSInteger point;//扣分值



@property (nonatomic, assign) CLLocationCoordinate2D coordinate;

@property (nonatomic, copy) NSString *showTime;

@end


